﻿using Entity.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.CheckInEntity
{
    public class CheckIn:BaseEntity
    {
        /// <summary>
        /// 房间Id
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string RoomId { get; set; }
        /// <summary>
        /// 入住日期
        /// </summary>
        public DateTime CheckInDate { get; set; }
        /// <summary>
        /// 退房日期
        /// </summary>
        public DateTime CheckOutDate { get; set; }
        /// <summary>
        /// 处理人
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string Creartor { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        [Column(TypeName = "Money")]
        public decimal Amount { get; set; }
        /// <summary>
        /// 是否预约
        /// </summary>
        public bool IsAppointment { get; set; }
        /// <summary>
        /// 用于预约订单Id
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string AppointmentId { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        [Column(TypeName = "varchar(18)")]
        public string ID_Card { get; set; }
        /// <summary>
        /// 顾客姓名
        /// </summary>
        [Column(TypeName = "varchar(18)")]
        public string Name { get; set; }
        /// <summary>
        /// 入住记录状态
        /// </summary>
        [Column(TypeName = "varchar(18)")]
        public CheckInStatus CheckInStatus { get; set; }
    }
}
